package com.efesco.unite_query;

import com.bstek.dorado.common.*;
import com.bstek.dorado.data.*;
import com.bstek.dorado.data.db.SqlDataset;
import com.bstek.dorado.view.*;
import com.bstek.dorado.view.data.*;
import com.bstek.dorado.view.control.*;
import com.bstek.dorado.view.control.tree.DataTree;
import com.bstek.dorado.view.control.tree.Tree;
import com.efesco.common.Tools;
import com.efesco.common.UrlMap;
import com.efesco.system.User;

/**
 * employee_mainViewModel
 */
public class employee_mainViewModel extends DefaultViewModel {
  public void init(int state)
      throws Exception {
    // Add your code here
    super.init(state);
  }

  protected void initDatasets()
      throws Exception {
    super.initDatasets();
    // Add your code here

  }

  protected void initControls()
      throws Exception {
    super.initControls();
    // Add your code here
    DoradoContext context = DoradoContext.getContext();
   // System.out.println((String)context.getParameter("employee_id"));
   getDataset("Dataset_menu").parameters().setString("employee_id",context.getParameter("employee_id"));
   getDataset("Dataset_menu").parameters().setString("SINGLE_COMPANY_ID",context.getParameter("single_company_id"));
   
	}

   

}
